package org.tea.inventory.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.tea.inventory.db.domain.Storage;

import java.util.Date;
import java.util.List;

/**
 * 帖子信息表
 */
@ApiModel(description = "帖子信息表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PostVo {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String loginId;

    /**
     * 圈子id
     */
    @ApiModelProperty(value = "圈子id")
    private Integer topicId;

    /**
     * 话题id
     */
    @ApiModelProperty(value = "话题id")
    private Integer discussId;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String content;

    /**
     * 文件
     */
    @ApiModelProperty(value = "文件")
    private String media;

    @ApiModelProperty(value = "文件")
    private List<Storage> mediaFiles;

    /**
     * 浏览量
     */
    @ApiModelProperty(value = "浏览量")
    private Integer readCount;

    /**
     * 置顶
     */
    @ApiModelProperty(value = "置顶")
    private Integer postTop;

    /**
     * 帖子类型：1 图文 ，2视频 ，3文章，4投票 5.问卷调查
     */
    @ApiModelProperty(value = "帖子类型：1 图文 ，2视频 ，3文章，4投票 5.问卷调查")
    private Integer type;

    private String typeName;

    /**
     * 地址名称
     */
    @ApiModelProperty(value = "地址名称")
    private String address;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private Double longitude;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    private Double latitude;

    /**
     * 状态0正常1审核
     */
    @ApiModelProperty(value = "状态0正常1审核")
    private Integer status;

    private String statusName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    /**
     * 截止日期
     */
    @ApiModelProperty(value = "截止日期")
    private Date deadline;

    /**
     * 积分
     */
    @ApiModelProperty(value = "积分")
    private Integer integral;

    /**
     * 备用字段
     */
    @ApiModelProperty(value = "备用字段")
    private String cut1;

    /**
     * 备用字段
     */
    @ApiModelProperty(value = "备用字段")
    private String cut2;

    /**
     * 备用字段
     */
    @ApiModelProperty(value = "备用字段")
    private String cut3;

    private String userName;

    private String employeeNo;

    private String deptName;

    private Object data;

    @ApiModelProperty(value = "用户互动状态 0未互动 1互动")
    private Integer interactUserStatus;

    @ApiModelProperty(value = "参与人集合")
    private List<String> participants;

    @ApiModelProperty(value = "审批意见")
    private String complateComment;

    private Integer complateStatus;

    private String complateStatusName;
}